package com.atguigu.srb.oss;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@ComponentScan({"com.atguigu.srb.core","com.atguigu.srb.base","com.atguigu.srb.oss"})
@EnableDiscoveryClient
@EnableFeignClients
public class ServiceOssApplication {
    public static void main(String[] args) {

        // 启动spring boot
        SpringApplication.run(ServiceOssApplication.class,args);

    }
}
